package com.bwf.math;

/**
 * @Version v1.0
 * @Description: TODO
 * @Author ZHANZHONGXIN
 * @Date 2022/5/16 10:02
 * @Copyright 博为峰
 */
public class MathDemo {
    public static void main(String[] args) {
        System.out.println(Math.abs(-6));
        System.out.println(Math.ceil(3.14));
        System.out.println(Math.floor(3.14));
        System.out.println(Math.pow(6, 2));
        for (int i = 0; i < 10; i++) {
            System.out.println(Math.random());
        }
    }
}
